import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { DictCategoryItem } from 'src/entities/DictCategoryItem';
import { Repository } from 'typeorm';
import { BaseModelService } from '../base-model/base-model.service';

@Injectable()
export class DictCategoryItemModelService extends BaseModelService<DictCategoryItem>{
    constructor(
        @InjectRepository(DictCategoryItem) protected repository:Repository<DictCategoryItem>
    ) {
        super()
        this.primaryKey = 'id'
    }
}
